package cn.mldn.demo.JavaMultiThread.implementationOfCallableInterface;

import java.util.concurrent.Callable;

class MyThread implements Callable<String> { // 定义线程主体类
	@Override
	public String call() throws Exception { // 线程执行方法
		for (int x = 0; x < 10; x++) {
			System.out.println("********* 线程执行、x = " + x);
		}
		return "www.mldn.cn"; // 返回结果
	}
}